package com.ptswitch.material.service;

import java.util.List;

import com.ptswitch.material.model.common.Uzer;
import com.ptswitch.material.model.contract.ContractItem;

public interface ErrorInputCacheService {

    List<ContractItem> getReceiveItems(long id, Uzer user);

    List<ContractItem> getExamineItems(long id, Uzer user);

    List<ContractItem> getReturnItems(long id, Uzer user);

    void cacheReceiveItems(long id, Uzer user, List<ContractItem> data);

    void cacheReturnItems(long id, Uzer user, List<ContractItem> data);

    void cacheExamineItems(long id, Uzer user, List<ContractItem> data);

    void removeReceiveItems(long id, Uzer user);

    void removeReturnItems(long id, Uzer user);

    void removeExamineItems(long id, Uzer user);
}
